package behavioral_pattern.mediator_pattern;

public class List extends Component{
    @Override
    public void update() {
        System.out.println("列表增加一项：张无忌");
    }

    public void select(){
        System.out.println("列表选择项：小龙女");
    }
}
